﻿/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2020-2020. All rights reserved.
 * Description: ³¬ 8 Î»Í¶ÆÁÂë
 * Author: ÐÁ°®¹ú x30005137
 * Create: 2020-08-18
 * Notes: ÎÞ
 */
#include "toscreencodeunlimit.h"
#include "ui_toscreencodeunlimit.h"

ToScreenCodeUnlimit::ToScreenCodeUnlimit(QWidget *parent) : QWidget(parent), ui(new Ui::ToScreenCodeUnlimit)
{
    ui->setupUi(this);
	this->setWindowFlags(Qt::FramelessWindowHint);
	
	this->setFocusPolicy(Qt::NoFocus);
	this->setFocus();
}

ToScreenCodeUnlimit::~ToScreenCodeUnlimit()
{
    delete ui;
}
void ToScreenCodeUnlimit::SetFousOn(int On)
{
	ui->passCodeEdit->setCursorPosition(On);
	ui->passCodeEdit->setEnabled(true);
	ui->passCodeEdit->setFocus();
}
